package com.demo.util.excel.beans;

import com.demo.util.equals.functional.Equals;
import com.demo.util.excel.enums.ExcelDataType;
import com.demo.util.tree.beans.TreeVO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.function.Function;

@Data
@EqualsAndHashCode(callSuper = true)
public class ExcelColumnVO<T> extends TreeVO<ExcelColumnVO<T>> {

    private String title;

    private String field;

    private ExcelDataType dataType;

    private Equals<T> merge;

    private Function<ExcelColumnVO<T>, String> headerStyle;

    private Function<T, String> cellStyle;

}


